<?php


namespace app\command;


use app\admin\services\task\ShopTourService;
use app\admin\services\task\TaskBaseService;
use think\admin\Command;
use think\console\Input;
use think\console\Output;

class Test extends Command
{
    protected function configure(){
        $this->setName('Test');
        $this->setDescription('开启定时任务');
    }

    protected function execute(Input $input, Output $output)
    {
        $output->writeln('开始定时任务');
        $data = '' ;
        ShopTourService::initialization($data);
        $output->writeln('定时任务结束');
    }
}